import request from '@/utils/request'

// 查询应用列表

export function listDeptUser(query) {
  return request({
    url: '/deptDocument/list',
    method: 'get',
    params: query
  })
}
export function userCardList(query) {
  return request({
    url: '/deptDocument/userCardList',
    method: 'get',
    params: query
  })
}
export function saveDeptUser(data) {
  return request({
    url: '/deptDocument/save',
    method: 'post',
    data: data
  })
}
export function editDeptUser(data) {
  return request({
    url: '/deptDocument/update',
    method: 'put',
    data: data
  })
}
export function insertZJ(data) {
  return request({
    url: '/deptDocument/insertZJ',
    method: 'post',
    data: data
  })
}
export function delUser(id) {
  return request({
    url: '/deptDocument/remove/' + id,
    method: 'delete'
  })
}
export function listTrainPlan(query) {
  return request({
    url: '/deptDocument/trainList',
    method: 'get',
    params: query
  })
}


